package com.common.game;

import org.apache.log4j.Logger;

/**
 * User: wattsc5
 * <p/>
 * Date: 2/29/12
 */
public class Bid
{
	private static final Logger logger = Logger.getLogger(Bid.class);

	private int numberOfDice;

	private int diceValue;

	/**
	 * Initializes a new instance of a Bid.
	 * @param numberOfDice the number of dice to bet on.
	 * @param diceValue The value of the dice to bid on
	 */
	public Bid(int numberOfDice, int diceValue)
	{
		this.numberOfDice = numberOfDice;
		this.diceValue = diceValue;
	}

	public int getDiceCount()
	{
		return numberOfDice;
	}

	public int getDiceValue()
	{
		return diceValue;
	}

	public String toString()
	{
		return "Count:" + this.numberOfDice + " Value:" + this.diceValue;
	}
}
